package com.woniu.service;

import com.woniu.been.entity.TMenu;
import com.woniu.been.entity.vo.TMenuVo;
import com.woniu.utils.PageResult;

import java.util.List;

public interface TMenuService {
    List<TMenu> findMenus(String teacherName);

    PageResult findAllMenus(TMenuVo tMenuVo, Integer pageNum, Integer pageSize);

    void insertMenu(TMenu tMenu);

    void editMenu(TMenu tMenu);

    void deleteMenu(Integer id);
}
